* {
  position: relative;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: rgba(0,0,0,0.02);
}

input, button, textarea {
  padding: 8px 12px;
  border-radius: 3%;
  border: 1px solid black;
}

input {
  width: 100%;
  margin-bottom: 8px;
}

button {
  cursor: pointer;
}

#music {
  display: none;
}

#finish {
  text-decoration: line-through;
  color: rgba(0,0,0,.3);
}

#addTask {
  background: rgba(0,0,0,0);
  position: absolute;
  right: 45px;
  top: 8px;
  padding: 0;
  border: 0;
  display: inline-block;
  outline: none;
}

#addTask > img {
  width: 20px;
  height: 20px;
}

#showDet {
  background: rgba(0,0,0,0);
  position: absolute;
  right: 5px;
  top: 8px;
  padding: 0;
  border: 0;
  display: inline-block;
  outline: none;
}

#showDet > img {
  width: 20px;
  height: 20px;
}

.topnav {
  background: #f7441a;
  color: #efeaea;
  text-align: center;
  padding: 8px 0;
}

.topnav h1 {
  margin: 0;
}

.wrap {
  max-width: 500px;
  margin: 0 auto;
}

.header {
  text-align: center;
  padding: 20px 0;
}

.tasklist {
  margin-top: 10px;
}



.item {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 8px 0;
}

.item > * {
  vertical-align: middle;
}

.item:hover {
  background: #f8dada69;
}

#unfinish button:nth-child(1), #finish button:nth-child(1) {
  margin-left: 10px;
  margin-right: 20px;
  padding: 0;
  border-color: rgba(0,0,0,0);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background-color: rgba(0,0,0,0.1);
  background-image: url(../image/7.gif);
  background-repeat: no-repeat;
  outline: none;
}

#unfinish button:nth-child(1):hover {
  background-color: #89d0f6;
}

#unfinish button:nth-child(2), #unfinish button:nth-child(3) {
  display: none;
  float: right;
  margin-top: 5px;
  margin-left: 20px;
  padding: 0;
  border: 0;
  outline: 0;
}

#unfinish button:nth-child(2) {
  background: url(../image/5.gif) no-repeat 0 0;
  width: 25px;
  height: 25px;
}

#unfinish button:nth-child(2):hover {
  background: url(../image/6.gif) no-repeat 0 0;
}

#unfinish button:nth-child(3) {
  background: url(../image/3.gif) no-repeat 0 0;
  width: 25px;
  height: 25px;
}

#unfinish button:nth-child(3):hover {
  background: url(../image/4.gif) no-repeat 0 0;
}

#unfinish button:nth-child(3):hover {
  background: url(../image/4.gif) no-repeat 0 0;
}

#finish button:nth-child(2) {
  display: none;
  float: right;
  margin-top: 5px;
  margin-left: 20px;
  padding: 0;
  border: 0;
  outline: 0;
  background: url(../image/3.gif) no-repeat 0 0;
  width: 25px;
  height: 25px;
}

#finish button:nth-child(2):hover {
  background: url(../image/4.gif) no-repeat 0 0;
}

#unfinish:hover button, #finish:hover button {
  display: inline-block;
}
